package com.xoa.controller.im.Model;

public class ImRoomModel{
	Integer rid; //房间Id
   String rname;//房间名称
   String room_of;//房间openfireid
   String rmember_uid;//群成员uid串
	String rmember_userId;//群成员userId  串
   String rout_uid;//已离开或被踢出的uid串
   String rset_uid;//群主uid
   String rset_ofid;//群主openfireid
   String rtime;//创建时间
   String type;//是否在群成员内        判断是属于RMEMBER_UID 还是ROUT_UID
   String rchange;//是否允许修改房间名称    
   String rinvite;//是否开启成员邀请       1:开启  0:关闭
	String rmemberUidName;//群成员名字
	String rsetUidName;//群主名字
	String btID;//变态接口字段 多返回一次OPfire
	Integer roomStatus;
	Integer roomNo; //排序号
	String roomRemark;//群公告
    String roomIntroduce;//群简介
	String rsetUserId;// 群主的userId

	public String getRsetUserId() {
		return rsetUserId;
	}

	public void setRsetUserId(String rsetUserId) {
		this.rsetUserId = rsetUserId;
	}

	public String getBtID() {
		return btID;
	}

	public void setBtID(String btID) {
		this.btID = btID;
	}

	public String getRmemberUidName() {
		return rmemberUidName;
	}

	public void setRmemberUidName(String rmemberUidName) {
		this.rmemberUidName = rmemberUidName;
	}

	public String getRsetUidName() {
		return rsetUidName;
	}

	public void setRsetUidName(String rsetUidName) {
		this.rsetUidName = rsetUidName;
	}

	public ImRoomModel() {
		super();
	}

	public ImRoomModel(Integer rid, String rname, String room_of, String rmember_uid, String rout_uid, String rset_uid, String rset_ofid, String rtime, String type, String rchange, String rinvite, String rmemberUidName, String rsetUidName, String btID, Integer roomStatus, Integer roomNo, String roomRemark, String roomIntroduce) {
		this.rid = rid;
		this.rname = rname;
		this.room_of = room_of;
		this.rmember_uid = rmember_uid;
		this.rout_uid = rout_uid;
		this.rset_uid = rset_uid;
		this.rset_ofid = rset_ofid;
		this.rtime = rtime;
		this.type = type;
		this.rchange = rchange;
		this.rinvite = rinvite;
		this.rmemberUidName = rmemberUidName;
		this.rsetUidName = rsetUidName;
		this.btID = btID;
		this.roomStatus = roomStatus;
		this.roomNo = roomNo;
		this.roomRemark = roomRemark;
		this.roomIntroduce = roomIntroduce;
	}

	public ImRoomModel(Integer rid,String rNAME, String rOOM_OF, String rMEMBER_UID,
					   String rOUT_UID, String rSET_UID, String rSET_OFID, String rTIME,
					   String tYPE, String rCHANGE, String rINVITE, String BTID, Integer room_Status,Integer roomNo, String roomRemark, String roomIntroduce) {
	super();
		this.rid = rid;
	rname = rNAME==null?"":rNAME;
	room_of = rOOM_OF==null?"":rOOM_OF;
	rmember_uid = rMEMBER_UID==null?"":rMEMBER_UID;
	rout_uid = rOUT_UID==null?"":rOUT_UID;
	rset_uid = rSET_UID==null?"":rSET_UID;
	rset_ofid = rSET_OFID==null?"":rSET_OFID;
	rtime = rTIME==null?"":rTIME;
	type = tYPE==null?"":tYPE;
	rchange = rCHANGE==null?"":rCHANGE;
	rinvite = rINVITE==null?"":rINVITE;
	btID=BTID==null?"":BTID;
	roomStatus=room_Status==null?0:room_Status;
		this.roomNo = roomNo;
		this.roomRemark = roomRemark;
		this.roomIntroduce = roomIntroduce;
}


	public Integer getRid() {
		return rid;
	}

	public void setRid(Integer rid) {
		this.rid = rid;
	}

	public Integer getRoomNo() {
		return roomNo;
	}

	public void setRoomNo(Integer roomNo) {
		this.roomNo = roomNo;
	}

	public String getRoomRemark() {
		return roomRemark;
	}

	public void setRoomRemark(String roomRemark) {
		this.roomRemark = roomRemark;
	}

	public String getRoomIntroduce() {
		return roomIntroduce;
	}

	public void setRoomIntroduce(String roomIntroduce) {
		this.roomIntroduce = roomIntroduce;
	}

	public String getRname() {
	return rname;
}

public void setRname(String rname) {
	this.rname = rname;
}

public String getRoom_of() {
	return room_of;
}

public void setRoom_of(String room_of) {
	this.room_of = room_of;
}

public String getRmember_uid() {
	return rmember_uid;
}

public void setRmember_uid(String rmember_uid) {
	this.rmember_uid = rmember_uid;
}

public String getRout_uid() {
	return rout_uid;
}

public void setRout_uid(String rout_uid) {
	this.rout_uid = rout_uid;
}

public String getRset_uid() {
	return rset_uid;
}

public void setRset_uid(String rset_uid) {
	this.rset_uid = rset_uid;
}

public String getRset_ofid() {
	return rset_ofid;
}

public void setRset_ofid(String rset_ofid) {
	this.rset_ofid = rset_ofid;
}

public String getRtime() {
	return rtime;
}

public void setRtime(String rtime) {
	this.rtime = rtime;
}

public String getType() {
	return type;
}

public void setType(String type) {
	this.type = type;
}

public String getRchange() {
	return rchange;
}

public void setRchange(String rchange) {
	this.rchange = rchange;
}

public String getRinvite() {
	return rinvite;
}

public void setRinvite(String rinvite) {
	this.rinvite = rinvite;
}

	public Integer getRoomStatus() {
		return roomStatus;
	}

	public void setRoomStatus(Integer roomStatus) {
		this.roomStatus = roomStatus;
	}

	public String getRmember_userId() {
		return rmember_userId==null?"":rmember_userId;
	}

	public void setRmember_userId(String rmember_userId) {
		this.rmember_userId = rmember_userId;
	}
}